package com.example.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel
public class UserVo {
    @ApiModelProperty(value = "唯一编码", example = "1001", required = true,
        position = 1)
    private Long id;
    @ApiModelProperty(value = "年龄", example = "20", required = true,
        position = 2)
    private Integer age;
    @ApiModelProperty(value = "姓名", example = "李四", required = true,
        position = 3)
    private String name;
    @ApiModelProperty(value = "宿舍Id", example = "12", required = true,
        position = 4)
    private Long dormId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the dormId
     */
    public Long getDormId() {
        return dormId;
    }

    /**
     * @param dormId
     *            the dormId to set
     */
    public void setDormId(Long dormId) {
        this.dormId = dormId;
    }

}
